<template>
  <div class="title">
    <div class="title-left">
        <!-- <img src="../../.././assets/images/u440.png" alt="">
        <img src="../../.././assets/images/u440.png" alt="">
        <img src="../../.././assets/images/u440.png" alt=""> -->
    </div>
    <div class="title-right">{{name}}</div>
    <slot></slot>
  </div>
</template>

<script>
export default {
    props:{
        name:{
            type:String,
            default:''
        }
    }
}
</script>

<style scoped lang="scss">
.title {
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: 45px;
    width: 100%;
    background: url('../../.././assets/images/bigViewIMG3/zs.png') no-repeat ;
    background-position: 0px 10px;
    // background-size: 100% 100%;
    .title-left {
        margin-right: 20px;
    }
    .title-right {
        font-size: 16px;
        color:#fff
    }
}
</style>